package com.gsm.dao;

import com.gsm.entity.Subject;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 科目(Subject)表数据库访问层
 *
 * @author wjq
 * @since 2020-04-26 22:59:08
 */
public interface SubjectDao {

    int insertSubject(Subject subject);

    int deleteSubjectBySubjectId(Long subjectId);

    int updateSubjectBySubjectId(Subject subject);

    int updateSubjects(List<Subject> list);

    Subject selectSubjectBySubjectId(Long subjectId);

    Subject selectSubjectMaxShowOrder();

    List<Subject> selectSubjectList(Subject subject);
}